#version 330 core
layout (location = 0) out vec4 FragColor;
in vec2 texcoord;

uniform sampler2D tex;
uniform vec4 color;

void main() {
    FragColor = texture(tex, texcoord) * color;
}